<template>
        <div class="fresh-goodies">
        <div class="goodies-title">
          <h3>人气推荐<span class="title-text">人气爆款 不容错过</span></h3>
        </div>
        <div class="goodies-commodity">
          <ul class="goodies-commodity-ul">
            <li class="goodies-commodity-li">
              <a class="goodies-commodity-item" href="javascript">
              <img src="../../../images/new_goods_1.jpg" alt="">
              <span class="goodies-commodity-spantitle">智能环绕3D空调</span>
              <span class="goodies-commodity-price"><i class="goodies-commodity-i">￥</i>1268.00</span>
              </a>
            </li>
            <li class="goodies-commodity-li">
              <a class="goodies-commodity-item" href="javascript">
              <img src="../../../images/new_goods_1.jpg" alt="">
              <span class="goodies-commodity-spantitle">智能环绕3D空调</span>
              <span class="goodies-commodity-price"><i class="goodies-commodity-i">￥</i>1268.00</span>
              </a>
            </li>
            <li class="goodies-commodity-li">
              <a class="goodies-commodity-item" href="javascript">
              <img src="../../../images/new_goods_1.jpg" alt="">
              <span class="goodies-commodity-spantitle">智能环绕3D空调</span>
              <span class="goodies-commodity-price"><i class="goodies-commodity-i">￥</i>1268.00</span>
              </a>
            </li>
            <li class="goodies-commodity-li">
              <a class="goodies-commodity-item" href="javascript">
              <img src="../../../images/new_goods_1.jpg" alt="">
              <span class="goodies-commodity-spantitle">智能环绕3D空调</span>
              <span class="goodies-commodity-price"><i class="goodies-commodity-i">￥</i>1268.00</span>
              </a>
            </li>
          </ul>
        </div>
      </div>
</template>

<script setup lang="ts">

</script>

<style scoped>
.fresh-goodies {
  width: 1240px;
  height: 521px;
  margin: 0 auto;
}
.goodies-title {
  height: 115px;
  padding: 40px 0px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
h3 {
  float: left;
  height: 35px;
  line-height: 35px;
  margin-left: 6px;
  font-size: 32px;
  font-weight: 400;
  color: rgb(51, 51, 51);
}
.title-text {
  margin-left: 33px;
  font-size: 16px;
  color: rgb(153, 153, 153);
}
.goodies-commodity {
  width: 100%;
  height: 406px;
}
.goodies-commodity-li {
  background-color: #f0f9f4;
  transition: all .5s;
  display: inline-block;
  width: 306px;
  height: 406px;
  text-align: center;
  transform: translateZ(0);
  &:hover {
        transform: scale(1.02);
      }
}
.goodies-commodity-item {
  background-color: #fff;
  display: inline-block;
  width: 306px;
  height: 406px;
  text-align: center;
}
.goodies-commodity-ul {
  display: flex;
  justify-content: space-between;
}
.goodies-commodity-spantitle {
  display: inline-block;
  width: 100%;
  margin: 12px 0 10px;
  font-size: 22px;
}
.goodies-commodity-price {
  font-size: 23px;
  color: #cf4444;
}
.goodies-commodity-i {
  font-size: 16px;
}
</style>
